﻿using System.Windows.Controls;
using Tisbi.LawFirm.UI.ViewModel;

namespace Tisbi.LawFirm.UI.Views.Controls.Forms
{
    /// <summary>
    /// Interaction logic for CustomersCRUDForm.xaml
    /// </summary>
    public partial class CustomersCRUDForm : UserControl
    {
        public CustomersCRUDForm()
        {
            InitializeComponent();
        }

        public CustomersCRUDForm(CustomersCRUDViewModal viewModel)
            : this()
        {
            // Set data context to view model
            DataContext = viewModel;
        }
    }
}
